﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ImageTool2DCal
{
    public enum CalMode
    {
        PointToPoint,
        PointToLine,
        LineToLine,
        CircleToLine

    }
    public enum CircleToLinePointIndex
    {
        Frist,
        Second,
    }
    [Serializable]
    public class ToolSetting
    {
        public ToolSetting()
        {

           
            CalMode = CalMode.PointToPoint;
            ShowResultPoint = true;

        }
        
        [CategoryAttribute("MeasureSetting")]
        public CalMode CalMode
        {
            get;
            set;
        }
        [CategoryAttribute("MeasureSetting")]
        public CircleToLinePointIndex PointIndex
        {
            get;
            set;
        }
        [CategoryAttribute("UI")]
        public bool ShowResultLine
        {
            get;
            set;
        }
        [CategoryAttribute("UI")]
        public bool ShowResultPoint
        {
            get;
            set ;
        }
    }
}
